﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddUserMes.aspx.cs" Inherits="CRM.AddUserMes" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="Web_CSS/WebCss.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="JavaScript/Jquery.js"></script>
    <script type="text/javascript" src="JavaScript/ManageWeb.js"></script>
    <script type="text/javascript" src="JavaScript/PCASClass.js"></script>
</head>
<body>
    <form id="form1" runat="server" defaultbutton="BtnSaveUserInfo">
    <div class="div_All">
    <div class="Body_Title">内容管理 》》编辑客户信息</div>
        <hr />
     <table cellpadding="2" cellspacing="1" class="Admin_Table" style="width:99%; margin:5px auto;">
     <thead>
        <tr class="Admin_Table_Title">
            <th colspan="3">编辑客户信息</th>
        </tr>
     </thead>
     <tr>
            <th colspan="3">添加客户信息前，请先查看该信息是否已经存在，<a href="UserService.aspx">点击此处去查询..</a></th>
        </tr>
        <tr>
            <td>联系人：</td>
            <td>
                <input id="txtPerson" type="text" maxlength="20" runat="server" class="txtHInput"/>&nbsp;<img src="Images/warning.png"/>必填</td>
            <td>联系人名称，不能为空！</td>
        </tr>
        <tr>
            <td>公司名称：</td>
            <td>
                <input id="txtCompanyName" type="text" maxlength="100" runat="server" class="txtHInput"/>&nbsp;<img src="Images/warning.png"/>必填</td>
            <td>公司名称，不能为空！</td>
        </tr>
        
        <tr>
            <td>联系电话：</td>
            <td><input id="txtTel" type="text" maxlength="30" runat="server" class="txtHInput"/>&nbsp;<img src="Images/warning.png"/>必填</td>
            <td>联系电话，这个不能为空！</td>
        </tr>
        <tr>
            <td>手机：</td>
            <td><input id="txtMoblie" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>邮箱：</td>
            <td><input id="txtMail" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>QQ：</td>
            <td>
                <input id="txtQQ" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>邮编：</td>
            <td>
                <input id="txtPost" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>传真：</td>
            <td><input id="txtFax" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td></td>
        </tr>
        <tr>
            <td>联系地址：</td>
            <td>
                <input id="txtAdress" type="text" maxlength="200" runat="server" class="txtHInput" style="width:400px"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>客户网站：</td>
            <td>
                <input id="txtWebUrl" type="text" maxlength="50" runat="server" class="txtHInput" value="http://"/></td>
            <td>有的话，最好填上。</td>
        </tr><tr>
            <td>性别：</td>
            <td>
                <asp:RadioButton ID="RBMan" runat="server" Checked="True" GroupName="SEX" 
                    Text="男" />
                <asp:RadioButton ID="RBWoMan" runat="server" GroupName="SEX" TabIndex="1" 
                    Text="女" />
            </td>
            <td>性别，默认男士。</td>
        </tr>
        <tr>
            <td>地区：</td>
            <td><select id="DDLProvince" runat="server"/>
                     &nbsp;
                 <select id="DDLCity" runat="server"/></td>
            <td>默认属于全国各个地区！</td>
        </tr>
        <tr>
            <td>客户类型：</td>
            <td><asp:DropDownList ID="DDlClass" runat="server">
                    <asp:ListItem Value="0">代理商</asp:ListItem>
                    <asp:ListItem Value="1">供应商</asp:ListItem>
                </asp:DropDownList></td>
            <td></td>
        </tr>
        <tr>
            <td>客户等级：</td>
            <td><asp:DropDownList ID="DDLLeave" runat="server">
                    <asp:ListItem Value="0">普通会员</asp:ListItem>
                    <asp:ListItem Value="1">高级会员</asp:ListItem>
                    <asp:ListItem Value="2">审核会员</asp:ListItem>
                    <asp:ListItem Value="3">联盟会员</asp:ListItem>
                </asp:DropDownList></td>
            <td></td>
        </tr>
        <tr>
            <td>客户来源：</td>
            <td><asp:DropDownList ID="DDLFrom" runat="server">
                    <asp:ListItem Value="0">互联网</asp:ListItem>
                    <asp:ListItem Value="1">地区展会</asp:ListItem>
                    <asp:ListItem Value="2">推荐介绍</asp:ListItem>
                    <asp:ListItem Value="3">其它途径</asp:ListItem>
                </asp:DropDownList></td>
            <td></td>
        </tr>
        <tr>
            <td>备注信息：</td>
            <td>
                <textarea id="txtRemark" cols="50" rows="5" runat="server"></textarea></td>
            <td>系统功能有限，该客户的其它信息，就写在这里吧。</td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="BtnSaveUserInfo" runat="server" Text="保存信息" 
                    onclick="BtnSaveUserInfo_Click" />&nbsp;
                <input id="txtRe" type="reset" value=" 重填 " />
                &nbsp;<input id="BtnBack" type="button" 
                    value="返回管理" onclick='javascript:location.href="UserService.aspx"'/></td>
            <td></td>
        </tr>
     </table>
    </div>
    <asp:HiddenField ID="Province" Value="全国" runat="server"/>
    <asp:HiddenField ID="City" Value="所有地区" runat="server"/>
    <script type="text/javascript">
        InitCitySelect();
    </script>
    </form>
</body>
</html>
